package com.blrs.service.contract.impl;

import java.util.List;


import com.blrs.domain.ContractPaymentMethod;
import com.blrs.mapper.ContractPaymentMethodMapper;
import com.blrs.service.contract.IContractPaymentMethodService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


/**
 * 【请填写功能名称】Service业务层处理
 * 
 * @author ruoyi
 * @date 2023-11-30
 */
@Service
public class ContractPaymentMethodServiceImpl implements IContractPaymentMethodService
{
    @Autowired
    private ContractPaymentMethodMapper contractPaymentMethodMapper;

    /**
     * 查询【请填写功能名称】
     * 
     * @param paymentId 【请填写功能名称】主键
     * @return 【请填写功能名称】
     */
    @Override
    public ContractPaymentMethod selectContractPaymentMethodByPaymentId(String paymentId)
    {
        return contractPaymentMethodMapper.selectContractPaymentMethodByPaymentId(paymentId);
    }

    /**
     * 查询【请填写功能名称】列表
     * 
     * @param contractPaymentMethod 【请填写功能名称】
     * @return 【请填写功能名称】
     */
    @Override
    public List<ContractPaymentMethod> selectContractPaymentMethodList(ContractPaymentMethod contractPaymentMethod)
    {
        return contractPaymentMethodMapper.selectContractPaymentMethodList(contractPaymentMethod);
    }

    /**
     * 新增【请填写功能名称】
     * 
     * @param contractPaymentMethod 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int insertContractPaymentMethod(ContractPaymentMethod contractPaymentMethod)
    {
        return contractPaymentMethodMapper.insertContractPaymentMethod(contractPaymentMethod);
    }

    /**
     * 修改【请填写功能名称】
     * 
     * @param contractPaymentMethod 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int updateContractPaymentMethod(ContractPaymentMethod contractPaymentMethod)
    {
        return contractPaymentMethodMapper.updateContractPaymentMethod(contractPaymentMethod);
    }

    /**
     * 批量删除【请填写功能名称】
     * 
     * @param paymentIds 需要删除的【请填写功能名称】主键
     * @return 结果
     */
    @Override
    public int deleteContractPaymentMethodByPaymentIds(String[] paymentIds)
    {
        return contractPaymentMethodMapper.deleteContractPaymentMethodByPaymentIds(paymentIds);
    }

    /**
     * 删除【请填写功能名称】信息
     * 
     * @param paymentId 【请填写功能名称】主键
     * @return 结果
     */
    @Override
    public int deleteContractPaymentMethodByPaymentId(String paymentId)
    {
        return contractPaymentMethodMapper.deleteContractPaymentMethodByPaymentId(paymentId);
    }
}
